page {
    background: white;
}

view,
image {
    // outline: 1rpx solid red;
}

.rank-box {
    position: relative;
    z-index: 1;

    .top-bg {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 670rpx;
    }

    .rank-head {
        position: absolute;
        z-index: 2;
        top: 232rpx;
        left: 0;
        padding: 0 80rpx;
    }

    .head {
        width: 590rpx;
        padding-bottom: 20rpx;
        border-bottom: 2rpx solid rgba(151, 151, 151, .13);
        ;

        .rank-title {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 22rpx;

            .title-left {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                font-size: 32rpx;
                color: #333333;
                font-weight: bold;

                .tab1 {
                    margin-right: 54rpx;
                }

                .active {
                    color: #F1AF86;
                    font-size: 36rpx;
                    position: relative;
                }

                .active::after {
                    position: absolute;
                    content: '';
                    left: 0;
                    bottom: -8rpx;
                    width: 100%;
                    height: 8rpx;
                    background: #F1AF86;
                    border-radius: 100rpx;
                }
            }

            .title-right {
                font-size: 20rpx;
                color: rgba(51, 51, 51, .5);
                font-weight: bold;
            }
        }

        .rank-time {
            font-size: 20rpx;
            color: #333333;
            opacity: .5;
            font-weight: bold;
        }
    }

    .user-info {
        padding: 20rpx 0;
        border-bottom: 2rpx solid rgba(151, 151, 151, .13);
        display: flex;
        align-items: center;
        justify-content: space-between;

        .user {
            display: flex;
            align-items: center;

            .img-box {
                width: 100rpx;
                height: 100rpx;
                border-radius: 100rpx;
                background: rgba(255, 135, 135, 0.09);
                padding: 16rpx;
                margin-right: 20rpx;

                .img {
                    width: 100%;
                    height: 100%;
                    border-radius: 100%;
                    display: block;
                }
            }

            .user-name {
                .name {
                    color: #333333;
                    font-size: 36rpx;
                    font-weight: bold;
                    line-height: 80rpx;
                }

                .user-rank {
                    display: flex;
                    align-items: center;
                }
            }
        }

        .kpi {
            display: flex;
            align-items: center;
        }

        .txt1 {
            color: #666666;
            font-size: 24rpx;
            font-weight: 500;
        }

        .txt2 {
            font-size: 28rpx;
            color: #333333;
            font-weight: bold;
        }

        .txt3 {
            color: #F1AF86;
            font-size: 36rpx;
        }
    }

    .rank-img {
        padding: 50rpx 40rpx 30rpx;
        display: flex;
        justify-content: space-between;

        .rank-item {
            text-align: center;
            position: relative;

            .rank-img-box {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .frame2 {
                display: block;
                position: relative;
                z-index: 1;
                margin-top: 40rpx;

                .bg {
                    width: 112rpx;
                    height: 112rpx;
                    background: linear-gradient(180deg, #7D7B7B 0%, #D4D4D4 100%);
                    border-radius: 112rpx;
                    position: relative;
                    padding: 12rpx;

                    .star2 {
                        width: 100%;
                        height: 100%;
                        border-radius: 100%;
                    }

                }

                .top22 {
                    width: 94rpx;
                    height: 40rpx;
                    position: relative;
                    z-index: 3;
                    bottom: 20rpx;
                }

                .bg3 {
                    background: linear-gradient(180deg, #A67447 0%, #CEAC79 100%);
                }
            }


            .top11 {
                width: 108rpx;
                height: 42rpx;
                display: block;
            }

            .top33 {
                width: 94rpx;
                height: 40rpx;
                display: block;
                position: absolute;
                z-index: 3;
            }

            .top-name {
                color: #333333;
                font-size: 28rpx;
                font-weight: 600;
                text-align: center;
                width: 140rpx;
            }

            .price2 {
                color: #666666;
                font-size: 32rpx;
            }

            .price1 {
                color: #FFB651;
                font-size: 36rpx;
            }

            .price3 {
                font-size: 32rpx;
                color: #A67447;
            }

            .frame1 {
                position: relative;
                z-index: 1;

                .bg {
                    width: 140rpx;
                    height: 140rpx;
                    border-radius: 140rpx;
                    padding: 12rpx;
                    position: relative;
                    background: linear-gradient(180deg, #FFB651 0%, #FFE5B5 100%);

                    .star1 {
                        width: 100%;
                        height: 100%;
                        border-radius: 100%;
                        position: relative;
                        z-index: 3;
                    }

                }

                .top11 {
                    width: 94rpx;
                    height: 40rpx;
                    position: relative;
                    z-index: 3;
                    bottom: 20rpx;
                    margin: 0 auto;
                }

                
            }

            .crown {
                position: absolute;
                z-index: 4;

            }

            .crown1 {
                width: 62rpx;
                height: 50rpx;
                left: -6rpx;
                top: -18rpx;
            }

            .crown2 {
                width: 88rpx;
                height: 76rpx;
                left: -16rpx;
                top: -38rpx;
                z-index: 4;
                position: absolute;
            }
        }
    }

    .rank-list {
        .list-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30rpx;

            .list-left {
                display: flex;
                align-items: center;

                .num {
                    color: #333333;
                    opacity: .5;
                    font-size: 36rpx;
                    margin-right: 40rpx;
                    width: 40rpx;
                }

                .avatar {
                    width: 70rpx;
                    height: 70rpx;
                    border-radius: 70rpx;
                    margin-right: 30rpx;

                    .a-img {
                        width: 70rpx;
                        height: 70rpx;
                        border-radius: 70rpx;
                    }
                }

                .rank-name {
                    color: #333333;
                    font-size: 28rpx;
                    font-weight: bold;
                    width: 300rpx;
                }
            }

            .list-right {
                font-size: 36rpx;
                color: #333333;
                font-size: bold;
            }
        }
    }
}